package demo.pattern.builder;

/**
 * @author : GuoFei
 * @since : 2019/6/25 17:04
 */
public class TestMain {

    public static void main(String[] args) {

        MealBuilder mealBuilder = new MealBuilder();
        Meal vegMeal = mealBuilder.prepareVegMeal();
        System.out.println("素食套餐");
        vegMeal.showItems();
        Meal nonVegMeal = mealBuilder.prepareNonVegMeal();
        System.out.println("\n非素食套餐");
        nonVegMeal.showItems();
    }
}
